const log=console.log;
async function logger(ctx,next){  //M-logger
  const start=Date.now();
  await next();
  const end=Date.now();
  log(`${ctx.method} ${ctx.path} ${end-start}`);
};
module.exports=logger;
